package com.campus.commons.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 未读消息表
 * </p>
 *
 * @author Rin
 * @since 2020-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Unread对象", description="未读消息表")
public class Unread implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户id")
    @TableField("userId")
    private Integer userid;

    @ApiModelProperty(value = "未读问题评论")
    private Integer discuss;

    @ApiModelProperty(value = "未读活动")
    @TableField("activityAmount")
    private Integer activityamount;

    @ApiModelProperty(value = "未读作业")
    @TableField("assignmentAmount")
    private Integer assignmentamount;

    @ApiModelProperty(value = "未读通知")
    private Integer annunciate;


}
